using System;
using System.Collections;
using System.Collections.Generic;

using BVMB.DataLayer.Base;

namespace BVMB.DataLayer.BusinessObjects
{
    public partial class ChiTietBaoCaoThang : BusinessBase<int>
    {
        #region Declarations

		private int? _soVe = null;
		private decimal? _doanhThu = null;
		private double? _tyLe = null;
		
		private BaoCaoThang _baoCaoThang = null;
		
		
		#endregion

        #region Constructors

        public ChiTietBaoCaoThang() { }

        #endregion

        #region Methods

        public override int GetHashCode()
        {
            System.Text.StringBuilder sb = new System.Text.StringBuilder();
            
            sb.Append(this.GetType().FullName);
			sb.Append(_soVe);
			sb.Append(_doanhThu);
			sb.Append(_tyLe);

            return sb.ToString().GetHashCode();
        }

        #endregion

        #region Properties

		public virtual int? SoVe
        {
            get { return _soVe; }
			set
			{
				OnSoVeChanging();
				_soVe = value;
				OnSoVeChanged();
			}
        }
		partial void OnSoVeChanging();
		partial void OnSoVeChanged();
		
		public virtual decimal? DoanhThu
        {
            get { return _doanhThu; }
			set
			{
				OnDoanhThuChanging();
				_doanhThu = value;
				OnDoanhThuChanged();
			}
        }
		partial void OnDoanhThuChanging();
		partial void OnDoanhThuChanged();
		
		public virtual double? TyLe
        {
            get { return _tyLe; }
			set
			{
				OnTyLeChanging();
				_tyLe = value;
				OnTyLeChanged();
			}
        }
		partial void OnTyLeChanging();
		partial void OnTyLeChanged();
		
		public virtual BaoCaoThang BaoCaoThang
        {
            get { return _baoCaoThang; }
			set
			{
				OnBaoCaoThangChanging();
				_baoCaoThang = value;
				OnBaoCaoThangChanged();
			}
        }
		partial void OnBaoCaoThangChanging();
		partial void OnBaoCaoThangChanged();
		
        #endregion
    }
}
